#ifndef COLORCONTROLLERBOX_H
#define COLORCONTROLLERBOX_H


#include <QMainWindow>
#include <QGraphicsWidget>
#include <QString>
#include <QDebug>
#include <QRectF>
#include <QPainterPath>
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QWidget>
#include <QList>
#include <QPointer>
#include <QGraphicsLinearLayout>
#include <QGraphicsGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QGraphicsProxyWidget>
#include <QGraphicsLayoutItem>

#include "../../visbasewidget.h"
#include "../../sagevis.h"

class ColorControllerBox : public VisBaseWidget
{
    Q_OBJECT

public:
    explicit ColorControllerBox(SageVis *svp, QGraphicsItem *parent = 0);
    ~ColorControllerBox();

    //these allow elts to be drawn
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
               QWidget *widget);

     QGraphicsGridLayout* mainLayout;

     QPointer< QGraphicsProxyWidget > textEditProxy1;
     QPointer< QGraphicsLayoutItem > textEditLayoutItem1;
     QPointer< QLineEdit > textEdit1;

     QPointer< QGraphicsProxyWidget > textEditProxy2;
     QPointer< QGraphicsLayoutItem > textEditLayoutItem2;
     QPointer< QLineEdit > textEdit2;

     QPointer< QGraphicsProxyWidget > textEditProxy3;
     QPointer< QGraphicsLayoutItem > textEditLayoutItem3;
     QPointer< QLineEdit > textEdit3;


//    QGraphicsLinearLayout* mainLayout;
//    QGraphicsLinearLayout* firstSelHorLayout;
//    QGraphicsLinearLayout* secondSelHorLayout;
//    QGraphicsLinearLayout* thirdSelHorLayout;




};

#endif // COLORCONTROLLERBOX_H
